home *** CD-ROM | disk | FTP | other *** search
/ PowerPlay 1998 September / PowerPlay 9 98.iso / Tools / VIREN / F-Prot / COMMAND.TXT < prev    next >
Text File  |  1998-04-22  |  6KB  |  173 lines

  1.                         The command-line options
  2.  
  3. F-PROT.EXE is usually run without any parameters and will then enter
  4. interactive mode, but if the /HARD option is used, or a drive, file or
  5. directory is specified, it will enter command-line mode.
  6.  
  7. Syntax for command-line mode:  F-PROT [drive, file or directory] [options]
  8.  
  9. The available command-line options are
  10.  
  11. /APPEND
  12. Appends the report to an existing file (Only used with /REPORT).
  13.  
  14. /ARCHIVE
  15. Scans inside .ZIP and .ARJ files.  Support for .LZH and .RAR archives, as
  16. well as self-extracting archives may be added later.
  17.  
  18. /AUTO
  19. May be specified with /DISINF, /DELETE or /RENAME so F-PROT will not
  20. request permission before rremoving each virus.
  21.  
  22. /BEEP
  23. Produces an annoying beep when a virus is found.  NOT recommended when
  24. scanning a virus collection.
  25.  
  26. /COLLECT
  27. Assumes what is being scanned is a virus collection, where viruses might be
  28. found in "abnormal" locations.  In particular, selecting this option will
  29. enable detection of file images of boot sector viruses.  This switch also 
  30. provides the same features as the old /GURU option.  Note that using /COLLECT
  31. will slow down the scan.
  32.  
  33. /DELETE
  34. Deletes infected files.
  35.  
  36. /DISINF
  37. Disinfects whenever possible.  It is possible to specify the following
  38. combinations of switches:
  39.  
  40.     /DISINF /DELETE
  41.         Disinfects when possible, otherwise deletes infected files.
  42.  
  43.     /DISINF /RENAME
  44.         Disinfects when possible, otherwise attempts to rename infected COM/EXE 
  45.         files to VOM/VXE.
  46.  
  47.     /DISINF /RENAME /DELETE
  48.         Disinfects when possible, otherwise attempts to rename infected COM/EXE
  49.         files to VOM/VXE, but if that fails the files are deleted.
  50.  
  51. /DUMB
  52. Does a "dumb" scan of all files.  This option is practically never
  53. necessary, and will normally just result in a significant slowdown of the
  54. scanner.  The only cases where it might be needed are the following:
  55.  
  56.     If you are scanning a virus collection, where infected files have
  57.     non-standard extensions, such as .VOM instead of .COM, they will not
  58.     be scanned for viruses, unless this switch is specified.
  59.  
  60.     If you are cleaning up a virus infection by one of the rare viruses like
  61.     Frodo, which accidentally "infect" data files, you should use this
  62.     switch.
  63.     
  64. /FREEZE
  65. "Freezes" the program if a virus is found anywhere.
  66.  
  67. /HARD
  68. Scans all files on all hard disks in the computer.
  69.  
  70. /HELP
  71. Displays the list of command-line options.
  72.  
  73. /INTER
  74. Forces the program to enter interactive mode, even when a path, directory
  75. or file name is given on the command line.
  76.  
  77. /LIST
  78. Lists all files that are scanned.
  79.  
  80. /NOBOOT
  81. Does not scan boot sectors.
  82.  
  83. /NOBREAK
  84. Disables ESC and ^C during scanning.
  85.  
  86. /NOFILE
  87. Does not scan files.  Only useful if you cleaning up a boot sector infection
  88. and do not want to spend unnecessary time scanning files.
  89.  
  90. /NOFLOPPY
  91. For use on systems without floppy drives.
  92.  
  93. /NOHEUR
  94. Version 3 has a smaller, more reliable set of heuristics than version 2,
  95. but they are enabled by default, unlike version 2.  This option allows
  96. you to turn the heuristics off.
  97.  
  98. /NOMEM
  99. Does not scan memory for viruses.  Not recommended, unless you are
  100. absolutely certain that no viruses are present in memory.
  101.  
  102. /NOSUB
  103. Does not scan subdirectories.
  104.  
  105. /PACKED
  106. Scans "inside" various types of compressed executables (DIET, PKLITE
  107. and LZEXE for example).  As this option can slow the scan down
  108. significantly, we only recommend using it when scanning new software
  109. before installation.
  110.  
  111. /PAGE
  112. Pauses after each page (command-line mode only).
  113.  
  114. /REMOVEALL
  115. Removes all macros from all documents.  Useful if you encounter a new
  116. macro virus, and you know that the document did not contain any macros
  117. before it got infected.
  118.  
  119. /REMOVENEW
  120. If a new variant of a macro virus is found in a document, all macros are
  121. removed from that particular document.
  122.  
  123. /RENAME
  124. Renames infected COM/EXE files to VOM/VXE.  If files with those
  125. extensions already exist, .VVV  is used instead.  Infected document files
  126. are not renamed, as that would be pointless - they would be equally
  127. infectious afterwards.
  128.  
  129. /REPORT=file
  130. Sends the output to a file, in addition to displaying it on the screen.
  131.  
  132. /SAFEREMOVE
  133. Removes all macros from documents, if a known virus is found.
  134.  
  135. /SILENT
  136. Does not generate any screen output (command-line mode only).
  137.  
  138. /TYPE
  139. By default F-PROT will only scan Word and Excel files with "standard"
  140. names, that is with .DO? and .XL? extensions.  If your Word/Excel
  141. documents use other extensions, you need to specify this switch.  This will
  142. slow the scan down, as every file is checked to see if it is a Word or
  143. Excel document.
  144.  
  145. /VIRLIST
  146. Produces a list of known viruses, as well as information on whether they
  147. can be disinfected.
  148.  
  149. /VIRNO
  150. Counts the known viruses and reports the total.
  151.  
  152. /WRAP
  153. Wraps text so the report fits in 78 columns.
  154.  
  155.  
  156. The program uses the following exit codes, which can be checked with the
  157. ERRORLEVEL command from a BAT file.
  158.  
  159.     0 - Normal exit - nothing found
  160.     1 - Abnormal termination - unrecoverable error.  This can mean any of
  161.         the following:
  162.             Internal error in the program.
  163.             DOS version prior to 3.0 was used.
  164.             ENGLISH.TX0, SIGN.DEF or MACRO.DEF corrupted or not present.
  165.     2 - Selftest failed - program has been modified.
  166.     3 - A Boot/File virus infection found.
  167.     4 - Virus found in memory.
  168.     5 - Program terminated with ^C or ESC.
  169.     6 - A virus was removed.  This code is only meaningful if
  170.         the program is used to scan just a single file.
  171.     7 - Insufficient memory to run the program.
  172.     8 - At least one suspicious file was found, but no infections.
  173.